class DeskActionAggregate < ActiveRecord::Base
  validates_presence_of :freshman_id
  
  belongs_to :freshman
  has_one :desk_start_action,
          :class_name => "DeskStartAction"
  has_one :desk_end_action,
          :class_name => "DeskEndAction"
  has_many :desk_actions
  
  def currently_active
    return desk_end_action.nil?
  end
  
end
